﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace KaartSpel
{
    public partial class StartScherm : Form
    {
        public StartScherm()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (!(textBoxNaam.Text.Equals("") || textBoxPunten.Text.Equals("")))
            {
                new FormController(textBoxNaam.Text, Convert.ToInt32(textBoxPunten.Text));
                this.Visible = false;
            }
            
        }

        
    }
}
